package com.wawei.seeds.services.remote;

import retrofit.Callback;
import retrofit.http.GET;
import retrofit.http.Query;

/**
 * Created by t27891 on 15/6/28.
 */
public interface WalnutMainServiceRestfulService {
    @GET("/item/list.action")
    void getAllMainServices(Callback<MainServiceRestfulWrapper> result);

    @GET("/item/list.action")
    void getAllMainServices(@Query("pageNum")Integer pageNumber, Callback<MainServiceRestfulWrapper> result);

    @GET("/booking/userBookings.action")
    void getMyAppointment(@Query("userId")String myId, Callback<AppointmentRestfulWrapper> result);

    @GET("/booking/providerBookings.action")
    void getAppointmentMe(@Query("providerId")String providerId, Callback<AppointmentRestfulWrapper> result);

    //@GET("/booking/providerBookings.action")
    @GET("/item/listByProvider.action")
    void getMyWanlutServices(@Query("providerId")String providerId, Callback<MainServiceRestfulWrapper> result);

    @GET("/booking/itemBookings.action")
    void getMyServiceDetail(@Query("itemId")String itemId, Callback<AppointmentRestfulWrapper> result);

}
